package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntityPlus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 服务预约订单对象 web_server_order
 * 
 * @author wsliupan@126.com
 * @date 2021-06-23
 */
@ApiModel("服务预约订单对象")
public class WebServerOrder extends BaseEntityPlus
{
    private static final long serialVersionUID = 1L;

    /** 自增 */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID" )
    @NotNull(message = "用户ID 不能为空")
    private Long userId;

    @TableField(exist = false)
    @Excel(name = "姓名")
    @ApiModelProperty(hidden = true)
    private String name;

    /** 门店ID */
    @Excel(name = "门店ID")
    @ApiModelProperty(value = "门店ID" )
    @NotNull(message = "门店ID 不能为空")
    private Long deptId;

    @TableField(exist = false)
    @Excel(name = "门店")
    private String deptName;

    /** 预约日期 */
    @Excel(name = "预约日期")
    @ApiModelProperty(value = "预约日期" )
    @NotNull(message = "预约日期 不能为空")
    private String preDay;

    /** 预约日期 */
    @Excel(name = "订单编号")
    @ApiModelProperty(value = "订单编号" )
    private String orderNo;
    @Excel(name = "订单消费价")
    @ApiModelProperty(value = "订单消费价" )
    private BigDecimal price;
    @Excel(name = "订单状态")
    @ApiModelProperty(value = "订单状态 ,1已预约 2已完成 3已取消" )
    private Integer status;

    @Excel(name = "技师名称")
    @TableField(exist = false)
    private String serverUserName;

    @Excel(name = "备注")
    private String comment;

    /** 预约时间 */
    @Excel(name = "预约时间")
    @ApiModelProperty(value = "预约时间" )
    @NotNull(message = "预约时间 不能为空")
    private String preTime;

    /** 预约的服务人员 */
    @Excel(name = "预约的服务人员")
    @ApiModelProperty(value = "预约的服务人员")
    private String serverUserId;

    /** 预约的项目 */
    @Excel(name = "预约的项目")
    @ApiModelProperty(value = "预约的项目",hidden = true )
    private Long recycleTypeId;

    /** 预约项目 */
    @Excel(name = "预约项目")
    @ApiModelProperty(value = "预约项目",hidden = true )
    private String recycleType;

    @Excel(name = "是否减了次卡 0否1是")
    private Integer cutDown;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setPreDay(String preDay) 
    {
        this.preDay = preDay;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPreDay()
    {
        return preDay;
    }
    public void setPreTime(String preTime) 
    {
        this.preTime = preTime;
    }

    public String getPreTime() 
    {
        return preTime;
    }
    public void setServerUserId(String serverUserId) 
    {
        this.serverUserId = serverUserId;
    }

    public String getServerUserId() 
    {
        return serverUserId;
    }
    public void setRecycleTypeId(Long recycleTypeId) 
    {
        this.recycleTypeId = recycleTypeId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Long getRecycleTypeId()
    {
        return recycleTypeId;
    }
    public void setRecycleType(String recycleType) 
    {
        this.recycleType = recycleType;
    }

    public String getRecycleType() 
    {
        return recycleType;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getServerUserName() {
        return serverUserName;
    }

    public void setServerUserName(String serverUserName) {
        this.serverUserName = serverUserName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCutDown() {
        return cutDown;
    }

    public void setCutDown(Integer cutDown) {
        this.cutDown = cutDown;
    }
}
